package com.cxxx.guns.modular.backend.service;

import com.cxxx.guns.modular.backend.model.Announcement;
import com.baomidou.mybatisplus.service.IService;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 通知表 服务类
 * </p>
 *
 * @author cczhang
 * @since 2018-09-05
 */
public interface IAnnouncementService extends IService<Announcement> {
    Object addAnnouncement(Announcement announcement);
    public List<Announcement> getListIndex(int status);
    public Announcement selectNext(Date date);
    public Announcement selectPrevious(Date date);
}
